package com.ctshk.rpc.order.ship.service;

import com.ctshk.common.dto.Result;
import com.ctshk.rpc.order.ship.dto.ShipOrderCollectionDTO;
import com.ctshk.rpc.order.ship.req.ShipOrderCollectionReq2;

import java.util.List;

/**
 * <p>
 * 船票收款明细 服务类
 * </p>
 *
 * @author 刘蕾
 * @since 2021-03-16
 */
public interface IShipOrderCollectionService {

    Result reconfirm(Long id, Long userId);

    /**
     * 收款记录 新
     * @param shipOrderCollectionReq2
     * @return
     */
    Result<List<ShipOrderCollectionDTO>> list(ShipOrderCollectionReq2 shipOrderCollectionReq2);


    /**
     * 驳回收款(财务-内部调用)
     * @param collectionNumber 收款单号
     * @return
     */
    Result rejectPayment(String collectionNumber, Long userId, String msg);
}
